package org.platform.lwc.gateway.controller;

import lombok.extern.slf4j.Slf4j;
import org.platform.lwc.tool.api.R;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@Slf4j
public class FallBackController {
    @RequestMapping(value = "/fallbackcontroller")
    public R fallBackController(){

        return R.fail("网关执行请求:{}失败,hystrix服务降级处理");
    }
}
